std::basic_ostream::write
From Cppreference
< cpp | io | basic ostream
| C++ Standard Library | ||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||||||||||||||||||||||||||
| Input/output library | ||||||||||||||||||||||||||||||||||||||||||||||||
| std::basic_ostream | ||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||
| basic_ostream& write( const char_type* s, streamsize count );
| ||
Writes count characters to the stream. If good() != true, setstate(failbit) is called and the function returns. If inserting fails, setstate(badbit) is called and the function returns.
Contents |
Parameters
| s | - | pointer to the character string to write |
| count | - | number of characters to write |
Return value
*this
Example
| This section is incomplete |
See also
| inserts formatted data (public member function) | |
| inserts a character (public member function) | |